<style>
.profile{float:left;width:200px;text-align: center;}
.info{margin-left:210px;}
</style>
<dl class="n-box">
	<dt class="n-box-head">
		<b>公共号列表</b>
	</dt>
	<dd class="n-box-body">
		<ul class="n-sep-top">
			<?php
			foreach($data['unionInfo'] as $key=>$val){
				
				?>
				<li class="a-bottom-line n-sep-bottom" style="height:160px;border-bottom:1px dashed #ccc;padding:10px;">
					<div class="n-right">
						<?=n_ui(n_url('union','unionDel',array('wxid'=>$val['wxInfo']['wxid'])),"删除")?>
						<?=n_ui(n_url('weixin','updateCategory',array('wxid'=>$val['wxInfo']['wxid'])),"修改分类")?>
					</div>
					<div class="profile">
						<a href="http://www.topranking.cn/weixin/detail.html?wxid=<?=$val['wxInfo']['wxid']?>" target="_blank">
							<img <?php
								if ($val['wxInfo']['flag'] == 1)
									echo "src=".get_weixin_face($val['wxInfo']['wxid']) . " style='width:90px'";
								else
									echo "src=".get_weixin_face($val['wxInfo']['face_wxid'], 'png') . " style='width:90px'";
							?>><br />
							<?=$val['wxInfo']['wxname']?><br />
							<?=$val['wxInfo']['wxid']?>
						</a>
					</div>
					<div class="info">
						
						分类:<?=$val['wxInfo']['category']['first_category']?>-&gt;<?=$val['wxInfo']['category']['second_category']?><br />
						描述:<?=$val['wxInfo']['description']?><br />
						认证:<?=$val['wxInfo']['auth']?>
					</div>
				</li>
				
				<?php
			}
			?>
		</ul>
		<div class="n-paging"><?=$data['paging']?></div>
	</dd>
</dl>